#pragma once
#include "messages.h"
#include <WinSock2.h>
#include <vector>
using namespace std;

class IAirlineServ
{
public:
	virtual ~IAirlineServ() {}

	virtual bool AirlineAuth(char szAccount[], char szPasswd[]) = 0;

	virtual void ViewOrders(vector<ORDER_ENTRY>*& pVecRes) = 0;
	virtual void DestroyOrders(vector<ORDER_ENTRY>* pVecRes) = 0;

	virtual bool CancelOrder(int nOrderId) = 0;
	virtual bool AddRoute(ROUT_ENTRY& route) = 0;
	virtual void ViewRoutes(vector<ROUT_ENTRY>*& pVecRes) = 0;
	virtual void DestroyRoutes(vector<ROUT_ENTRY>* pVecRes) = 0;
};